Represents the delegate signature of a typical handler for an application to handle an incoming call of type TCall.

Namespace:  Microsoft.Rtc.Collaboration
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Delegate 
Sub 
IncomingCallDelegate(
Of TCall 
As 
Call) ( _
	
sender 
As 
Object, _
	
e 
As 

CallReceivedEventArgs(
Of TCall) _
)
C#
public 
delegate 
void 
IncomingCallDelegate<TCall>(
	
Object 
sender,
	

CallReceivedEventArgs<TCall> 
e
)
where TCall : 
Call
Visual C++
generic<
typename TCall>
where TCall : 
Call
public 
delegate 
void 
IncomingCallDelegate(
	
Object^ 
sender, 
	

CallReceivedEventArgs<TCall>^ 
e
)
JavaScript
function(
sender, 
e);

Parameters

sender
Type: Object
The sender object.
e
Type: Microsoft.Rtc.Collaboration . . :: . CallReceivedEventArgs < (Of < ( TCall > ) > )
A generic CallReceivedEventArgs that contains the strongly typed call instance.

Type Parameters

TCall
A class derived from Call.

Remarks

Note that in addition to AudioVideoCall and InstantMessagingCall, an application can implement a custom Call type for a modality other than audio, video or instant messaging.

See Also